import { createRouter, createWebHistory } from 'vue-router';

import Dashboard from '../views/Dashboard.vue';
import TestCaseEditor from '../views/TestCaseEditor.vue';
import ProjectManager from '../pages/ProjectManager.vue';
import TestSuiteManager from '../pages/TestSuiteManager.vue';
import TestReport from '../pages/TestReport.vue';
import TestSuccessColor from '../components/TestSuccessColor.vue';
import SimpleTest from '../components/SimpleTest.vue';
import SuccessColorTest from '../components/SuccessColorTest.vue';
import LayoutTest from '../components/LayoutTest.vue';
import TaskManager from '../views/TaskManager.vue';

const routes = [
  { path: '/', component: Dashboard },
  { path: '/project', component: ProjectManager },
  { path: '/suite', component: TestSuiteManager },
  { path: '/case', component: TestCaseEditor },
  { path: '/report', component: TestReport },
  { path: '/task-manager', component: TaskManager },
  // 其他路由配置
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;